package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 活动碳排放管理
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@TableName("ecp_tt_activity_carbon_emission")
public class ActivityCarbonEmissionEntity extends BaseTenantEntity {

    /**
     * 名称
     */
    private String activityName;

    /**
     * 类型 (1： 碳排活动, 2:碳抵消活动)
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String activityType;

    /**
     * 关联数据项，其它
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Boolean relationDataOthers;

    /**
     * 备注
     */
    private String remarks;

}
